<template>
  <el-header class="ht-header">
    <ht-bread :data="breadData"></ht-bread>
    <div>
      <slot></slot>
    </div>
  </el-header>
</template>
<script lang="ts">
import { BreadType } from "htui-yllkbz/src/packages/type";
import { Component, Prop, Vue } from "vue-property-decorator";
interface State {
  /** 数据状态 */
  loading: boolean;
}
@Component
export default class Index extends Vue {
  /** 菜单路径 */
  @Prop() data!: BreadType[];
  /** 数据 */
  state: State = {
    loading: false,
  };
  /** 生命周期 */
  /** 方法 */
  /** 监听 */
  /** 计算属性 */
  /** 计算属性 */
  get breadData(): BreadType[] {
    return [...this.data];
  }
}
</script>
<style lang="scss" scoped></style>
